package com.shangguigu.spirngioc.ioc.bean;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class zuizi {

    @Value("#{T(java.util.UUID).randomUUID().toString()}")
    private String id;
    @Value("${zuizi.name}")
    private String name;

    public zuizi() {
        System.out.println("zuizi构造器.....");
    }
}
